<template>
	<view>
		<web-view :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				type:'',
				url:'',
			}
		},
		onLoad(option) {
			this.type=option.type
			if(this.type=='tiyan'){
				this.url='https://www.huihejituan.com/qmore/#/ExperienceTickets'
			}else if(this.type=='gonglue'){
				this.url='https://www.huihejituan.com/qmore/#/TutorialGuide'
			}else if(this.type=='baodian'){
				this.url='https://www.huihejituan.com/qmore/#/LearningBook'
			}else if(this.type=='buy'){//猫币充值协议
				this.url='https://www.huihejituan.com/qmore/#/Buy'
			}else if(this.type=='share'){//分享协议
				this.url='https://www.huihejituan.com/qmore/#/Share'
			}else if(this.type=='privacy'){//隐私协议
				this.url='https://www.huihejituan.com/qmore/#/Privacy'
			}else if(this.type=='user'){//用户协议
				this.url='https://www.huihejituan.com/qmore/#/User'
			}else if(this.type=='behavior'){//行为规范
				this.url='https://www.huihejituan.com/qmore/#/Behavior'
			}else{
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
